package lab02.Test12;

public class Rectagualr extends Shape {
    double a;
    double b;
    double arae;
    @Override
    public void area(double area) {
        super.area(a*b);
    }
    @Override
    void perimeter(double perimeter) {
        super.perimeter(a+a+b+b);
    }
}
